package com.ly.video.api.user.mapper;

import com.ly.video.api.user.entity.InComeEntity;
import com.ly.video.api.user.entity.WithdrawalEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WithdrawalMapper {


    /**
     * 添加用户提现记录
     */
    public Integer withdrawal(WithdrawalEntity withdrawalEntity);

    /**
     * 分页倒序查询用户提现记录
     */
    public List<WithdrawalEntity> findUserWithdrawalInfo(@Param("page") int page, @Param("size")int size, @Param("uid") String uid);
}
